<?php
if(!defined('InEmpireCMS'))
{
	exit();
}
$ptypeId=65;
$mid=10;
?>
<?php
//print_r($public_r[newsurl]);
$url="<a href=../../../>首页</a>&nbsp;>&nbsp;<a href=../cp/>控制面板</a>";
require(ECMS_PATH.'e/data/template/cp_1.php');
?>

<script src="../data/html/setday.js"></script>
<script src="../../../skin/default/editor/xheditor/xheditor-zh-cn.min.js?v=1.1.5"></script>
<link href="../../../skin/default/editor/xheditor/skin/commons.css" rel="stylesheet" type="text/css" />

<div class="dmain_conent">
<div class="pageindex">
	<a class="tips active" href="<?=$public_r[newsurl]?>e/member/photo/?uid=<?=$user_id?>"><?php if($is_my){ ?>我<?php }else{ ?>TA<?php }?>的专辑</a>
	<a class="tips " href="<?=$public_r[newsurl]?>e/member/photo/all.php?uid=<?=$user_id?>"><?php if($is_my){ ?>我<?php }else{ ?>TA<?php }?>的全部照片</a>
	<a class="tips " href="<?=$public_r[newsurl]?>e/member/photo/upload.php">上传照片</a>
</div>
<div class='dmini-content'>
<style>
.list-p dl{clear:both1;height:200px;border-bottom:1px dashed #eee;padding:5px;width:200px;float:left;border:1px solid #eee;margin:10px;background:#fafafa;}
.list-p dl dt{text-align:center;padding:5px;padding-top:10px;}
.list-p dl dd{clear:left;}
.list-p dl dd div{height:22px;}
.title{color:#000;font-weight:bold;}
</style>
<div class="list-p">
<?php 
if($list){
foreach($list as $k=>$v){?>
<dl>
		<dt>
		<a href="/cms/em/e/member/sp/?uid=4" ><img height="120" style="border:1px solid #eee;" src="/cms/em/d/file/p/2011-03-25/b58745348a24ad91b958e81babeaa85e_head_69_69.jpg"></a>
		</dt>
		<dd>
			<div>
				<span class='title'>专辑名称：</span><?=$v['title']?>			
			</div>
			<div>
				<span class='title'>拍摄地点：</span><?=$v['addr']?>
			</div>
			<div>
				<span class='title'>创建时间：</span><?=date("Y-m-d",$v['time'])?><span style="margin-left:30px;">共<?=$v['pic_num']?>张</span>
			</div>
		</dd>
	</dl>


<?php }

}else{?>
<div class='no-data'><?php if($list){ ?>您<?php }else{ ?>TA<?php }?>还没有建立相册</div>
<?php }?>
<div class="clear"></div>
	
	
</div>
</div>
</div>
<?php
require(ECMS_PATH.'e/data/template/cp_2.php');
?>